// components/completion/completion.js

// const tableDatas = [
//   { week: '2019/01/14', handle: 'A', spend: 70 },
//   { week: '2019/01/15', handle: 'B', spend: 60 },
//   { week: '2019/01/16', handle: 'C', spend: 90 },
//   { week: '2019/01/17', handle: 'D', spend: 80 },
//   { week: '2019/01/18', handle: 'E', spend: 100 },
//   { week: '2019/01/19', handle: 'F', spend: 80 },
//   { week: '2019/01/20', handle: 'G', spend: 70 },]
// // ].map(data => (data.day = new Date(data.date).getDay(), data))

Component({
  /**
   * 组件的属性列表
   */
  properties: {
    tableData: {
      type: Array,
      value: []
    },
    date: {
      type: String,
      value: '2019/01/18',
    },
  },

  /**
   * 组件的初始数据
   */
  data: {
    
  },

  /**
   * 组件的方法列表
   */
  methods: {
    
  }
})
